package com.jsh.erp.datasource.entities;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;
import java.util.Objects;

@ApiModel("财务主表")
public class AccountHead {
    @ApiModelProperty("主键")
    private String id;
    @ApiModelProperty("类型(支出/收入/收款/付款/转账/运费/运输付款)")
    private String type;
    @ApiModelProperty("单位Id(收款/付款单位)")
    private String organId;
    @ApiModelProperty("经手人id")
    private String handsPersonId;
    @ApiModelProperty("操作员")
    private String creator;
    @ApiModelProperty("变动金额(优惠/收款/付款/实付)")
    private BigDecimal changeAmount;
    @ApiModelProperty("优惠金额")
    private BigDecimal discountMoney;
    @ApiModelProperty("合计金额")
    private BigDecimal totalPrice;
    @ApiModelProperty("账户(收款/付款)")
    private String accountId;
    @ApiModelProperty("单据编号")
    private String billNo;
    @ApiModelProperty("单据日期")
    private Date billTime;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("附件名称")
    private String fileName;
    @ApiModelProperty("状态，0未审核、1已审核")
    private String status;
    @ApiModelProperty("租户id")
    private String tenantId;
    @ApiModelProperty("删除标记，0未删除，1删除")
    private String deleteFlag;

    @ApiModelProperty("有效标识  0-未上传 1-已上传 2-未下拉（调拨的状态")
    private String uploadFlag;

    private Date updateTime;

    private Date createTime;
    @ApiModelProperty("采购/销售单据编号")
    private String number;
    @ApiModelProperty("发票号")
    private String taxInvoiceNo;
    @ApiModelProperty("交付仓库")
    private String depotId;
    @ApiModelProperty("银行id")
    private String custom1;

    private String custom2;

    private String custom3;
    @ApiModelProperty("订金单据编号")
    private String custom4;

    private String custom5;
    @ApiModelProperty("增值税")
    private BigDecimal custom6;
    @ApiModelProperty("返利待结算金额")
    private BigDecimal custom7;

    @ApiModelProperty("找零")
    private BigDecimal custom8;

    private BigDecimal custom9;
    @ApiModelProperty("预收/付总金额")
    private BigDecimal custom10;

    private Integer custom11;

    private Integer custom12;

    private Integer custom13;

    private Integer custom14;

    private Integer custom15;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getOrganId() {
        return organId;
    }

    public void setOrganId(String organId) {
        this.organId = organId == null ? null : organId.trim();
    }

    public String getHandsPersonId() {
        return handsPersonId;
    }

    public void setHandsPersonId(String handsPersonId) {
        this.handsPersonId = handsPersonId == null ? null : handsPersonId.trim();
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator == null ? null : creator.trim();
    }

    public BigDecimal getChangeAmount() {
        return changeAmount;
    }

    public void setChangeAmount(BigDecimal changeAmount) {
        this.changeAmount = changeAmount;
    }

    public BigDecimal getDiscountMoney() {
        return discountMoney;
    }

    public void setDiscountMoney(BigDecimal discountMoney) {
        this.discountMoney = discountMoney;
    }

    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId == null ? null : accountId.trim();
    }

    public String getBillNo() {
        return billNo;
    }

    public void setBillNo(String billNo) {
        this.billNo = billNo == null ? null : billNo.trim();
    }

    public Date getBillTime() {
        return billTime;
    }

    public void setBillTime(Date billTime) {
        this.billTime = billTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName == null ? null : fileName.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId == null ? null : tenantId.trim();
    }

    public String getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(String deleteFlag) {
        this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
    }

    public String getUploadFlag() {
        return uploadFlag;
    }

    public void setUploadFlag(String uploadFlag) {
        this.uploadFlag = uploadFlag == null ? null : uploadFlag.trim();
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number == null ? null : number.trim();
    }

    public String getTaxInvoiceNo() {
        return taxInvoiceNo;
    }

    public void setTaxInvoiceNo(String taxInvoiceNo) {
        this.taxInvoiceNo = taxInvoiceNo == null ? null : taxInvoiceNo.trim();
    }

    public String getDepotId() {
        return depotId;
    }

    public void setDepotId(String depotId) {
        this.depotId = depotId == null ? null : depotId.trim();
    }

    public String getCustom1() {
        return custom1;
    }

    public void setCustom1(String custom1) {
        this.custom1 = custom1 == null ? null : custom1.trim();
    }

    public String getCustom2() {
        return custom2;
    }

    public void setCustom2(String custom2) {
        this.custom2 = custom2 == null ? null : custom2.trim();
    }

    public String getCustom3() {
        return custom3;
    }

    public void setCustom3(String custom3) {
        this.custom3 = custom3 == null ? null : custom3.trim();
    }

    public String getCustom4() {
        return custom4;
    }

    public void setCustom4(String custom4) {
        this.custom4 = custom4 == null ? null : custom4.trim();
    }

    public String getCustom5() {
        return custom5;
    }

    public void setCustom5(String custom5) {
        this.custom5 = custom5 == null ? null : custom5.trim();
    }

    public BigDecimal getCustom6() {
        return custom6;
    }

    public void setCustom6(BigDecimal custom6) {
        this.custom6 = custom6;
    }

    public BigDecimal getCustom7() {
        return custom7;
    }

    public void setCustom7(BigDecimal custom7) {
        this.custom7 = custom7;
    }

    public BigDecimal getCustom8() {
        return custom8;
    }

    public void setCustom8(BigDecimal custom8) {
        this.custom8 = custom8;
    }

    public BigDecimal getCustom9() {
        return custom9;
    }

    public void setCustom9(BigDecimal custom9) {
        this.custom9 = custom9;
    }

    public BigDecimal getCustom10() {
        return custom10;
    }

    public void setCustom10(BigDecimal custom10) {
        this.custom10 = custom10;
    }

    public Integer getCustom11() {
        return custom11;
    }

    public void setCustom11(Integer custom11) {
        this.custom11 = custom11;
    }

    public Integer getCustom12() {
        return custom12;
    }

    public void setCustom12(Integer custom12) {
        this.custom12 = custom12;
    }

    public Integer getCustom13() {
        return custom13;
    }

    public void setCustom13(Integer custom13) {
        this.custom13 = custom13;
    }

    public Integer getCustom14() {
        return custom14;
    }

    public void setCustom14(Integer custom14) {
        this.custom14 = custom14;
    }

    public Integer getCustom15() {
        return custom15;
    }

    public void setCustom15(Integer custom15) {
        this.custom15 = custom15;
    }
}
